<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<?php

		$cs = Yii::app() -> getClientScript();
		// $cs = Yii::app ()->getClientScript()->registerCoreScript ('jquery');
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/jquery-1.7.1.min.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/jquery/jquery-ui-1.8.17.custom.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/menu/jquery.fixedMenu.js");
		// $cs->registerScriptFile(Yii::app ()->request->baseUrl. "/js/menu/gallery.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/Base.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/json2.js");
		// $cs->registerScriptFile(Yii::app ()->request->baseUrl. "/js/menu/jquery.opacityrollover.js");
		// $cs->registerScriptFile(Yii::app ()->request->baseUrl. "/js/menu/jquery.galleriffic.js");
		// $cs->registerScriptFile(Yii::app ()->request->baseUrl. "/js/menu/jquery.history.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/Three.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Clock.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Color.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Face3.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Face4.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Vector2.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Vector3.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Vector4.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Frustum.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Geometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Math.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Matrix3.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Matrix4.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Object3D.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Projector.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Quaternion.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Ray.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Rectangle.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Spline.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/UV.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/core/Vertex.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/cameras/Camera.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/cameras/OrthographicCamera.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/cameras/PerspectiveCamera.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/lights/Light.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/lights/AmbientLight.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/lights/DirectionalLight.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/lights/PointLight.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/lights/SpotLight.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/Material.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/LineBasicMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/MeshBasicMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/MeshDepthMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/MeshFaceMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/MeshLambertMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/MeshNormalMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/MeshPhongMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/ParticleBasicMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/ParticleCanvasMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/ParticleDOMMaterial.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/materials/ShaderMaterial.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/Bone.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/Line.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/Mesh.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/LOD.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/MorphAnimMesh.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/Particle.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/ParticleSystem.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/Ribbon.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/SkinnedMesh.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/objects/Sprite.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/textures/Texture.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/textures/DataTexture.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/DOMRenderer.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/CanvasRenderer.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/SVGRenderer.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/WebGLShaders.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/WebGLRenderer.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/WebGLRenderTarget.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/WebGLRenderTargetCube.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/renderables/RenderableVertex.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/renderables/RenderableFace3.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/renderables/RenderableFace4.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/renderables/RenderableObject.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/renderables/RenderableParticle.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/renderers/renderables/RenderableLine.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/scenes/Scene.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/scenes/Fog.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/scenes/FogExp2.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/ColorUtils.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/GeometryUtils.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/ImageUtils.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/SceneUtils.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/ShaderUtils.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/animation/Animation.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/animation/AnimationHandler.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/animation/AnimationMorphTarget.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/animation/KeyFrameAnimation.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/cameras/CombinedCamera.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/cameras/CubeCamera.js");
		
		// $cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/controls/FirstPersonControls2.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/controls/FlyControls.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/controls/PathControls.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/controls/RollControls.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/controls/TrackballControls.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/core/BufferGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/core/Curve.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/core/CurvePath.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/core/EventTarget.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/core/Gyroscope.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/core/Path.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/core/Shape.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/core/TextPath.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/CubeGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/CylinderGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/ExtrudeGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/IcosahedronGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/LatheGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/OctahedronGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/PlaneGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/PolyhedronGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/SphereGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/TetrahedronGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/TextGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/TorusGeometry.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/geometries/TorusKnotGeometry.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/helpers/AxisHelper.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/helpers/CameraHelper.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/loaders/Loader.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/loaders/JSONLoader.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/loaders/BinaryLoader.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/loaders/ColladaLoader.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/loaders/SceneLoader.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/loaders/UTF8Loader.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/modifiers/SubdivisionModifier.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/objects/LensFlare.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/objects/MarchingCubes.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/renderers/plugins/LensFlarePlugin.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/renderers/plugins/ShadowMapPlugin.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/renderers/plugins/SpritePlugin.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/renderers/AnaglyphWebGLRenderer.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/renderers/CrosseyedWebGLRenderer.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/renderers/ParallaxBarrierWebGLRenderer.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/shaders/ShaderFlares.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/extras/shaders/ShaderSprite.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/RequestAnimationFrame.js");
		// $cs->registerScriptFile(Yii::app ()->request->baseUrl. "/js/threejs/fonts/helvetiker_regular.typeface.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/Stats.js");

		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/menu/jquery.fixedMenu.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/menu/dock.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/Detector.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/Stats.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/threejs/DAT.GUI.min.js");
		// $cs->registerScriptFile(Yii::app ()->request->baseUrl. "/js/room/HouseNew.js");
		// $cs->registerScriptFile(Yii::app ()->request->baseUrl. "/js/room/FacilityNew.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/room/House.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/room/Facility.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/room/Build.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/room/RoomUtil.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/room/FirstPersonControls2.js");
		
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/menu/jquery.fixedMenu.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/fancybox/jquery.fancybox-1.3.4.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/fancybox/jquery.mousewheel-3.0.4.pack.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/menu/jquery.tipsy.js");
		$cs -> registerScriptFile(Yii::app() -> request -> baseUrl . "/js/colorpicker2/farbtastic.js");

		$cs -> registerScript('saveHouseUrl', "saveHouseUrl='" . $this -> createUrl('/webgl/saveHouse') . "';", CClientScript::POS_BEGIN);
		$cs -> registerScript('loadHouseUrl', "loadHouseUrl='" . $this -> createUrl('/webgl/loadHouse') . "';", CClientScript::POS_BEGIN);
		$cs -> registerScript('loadFacilityUrl', "loadFacilityUrl='" . $this -> createUrl('/webgl/facility') . "';", CClientScript::POS_BEGIN);
		$cs -> registerScript('popmenuUrl', "popmenuUrl='" . $this -> createUrl('/webgl/popmenu') . "';", CClientScript::POS_BEGIN);
		?>
		<style>
			body {
				font-family: Arial, Helvetica, Sans-Serif;
				font-size: 12px;
				margin: 0px 20px;
			}
			/* menu */
			#menu {
				margin: 0px;
				padding: 0px;
				list-style: none;
				color: #fff;
				line-height: 45px;
				display: inline-block;
				float: left;
				z-index: 1000;
			}
			#menu a {
				color: #fff;
				text-decoration: none;
			}
			#menu > li {
				background: #AAA none repeat scroll 0 0;
				cursor: pointer;
				float: left;
				position: relative;
				padding: 0px 10px;
			}
			#menu > li a:hover {
				color: #900;
			}
			#menu .logo {
				background: transparent none repeat scroll 0% 0%;
				padding: 0px;
				background-color: Transparent;
			}
			/* sub-menus*/
			#menu ul {
				padding: 0px;
				margin: 0px;
				display: block;
				display: inline;
			}
			#menu li ul {
				position: absolute;
				left: -10px;
				top: 0px;
				margin-top: 45px;
				width: 150px;
				line-height: 16px;
				background-color: #AAA;
				color: #0395CC; /* for IE */
				display: none;
			}
			#menu li:hover ul {
				display: block;
			}
			#menu li ul li {
				display: block;
				margin: 5px 20px;
				padding: 5px 0px;
				border-top: dotted 1px #606060;
				list-style-type: none;
			}
			#menu li ul li:first-child {
				border-top: none;
			}
			#menu li ul li a {
				display: block;
				color: #ffffff;
			}
			#menu li ul li a:hover {
				color: #900;
			}
			/* main submenu */
			#menu #main {
				left: 0px;
				top: -20px;
				padding-top: 20px;
				background-color: #7cb7e3;
				color: #fff;
				z-index: 999;
			}
			/* search */
			.searchContainer div {
				background-color: #fff;
				display: inline;
				padding: 5px;
			}
			.searchContainer input[type="text"] {
				border: none;
			}
			.searchContainer img {
				vertical-align: middle;
			}
			/* corners*/
			#menu .corner_inset_left {
				position: absolute;
				top: 0px;
				left: -12px;
			}
			#menu .corner_inset_right {
				position: absolute;
				top: 0px;
				left: 150px;
			}
			#menu .login_corner_inset_right {
				position: absolute;
				top: 0px;
				left: 200px;
			}
			#menu .signin_inset_left {
				position: absolute;
				top: 0px;
				left: -10px;
			}
			#menu .last {
				background: transparent none repeat scroll 0% 0%;
				margin: 0px;
				padding: 0px;
				border: none;
				position: relative;
				border: none;
				height: 0px;
			}
			#menu .corner_left {
				position: absolute;
				left: 0px;
				top: 0px;
			}
			#menu .corner_right {
				position: absolute;
				left: 133px;
				top: 0px;
			}
			#menu .login_corner_right {
				position: absolute;
				left: 183px;
				top: 0px;
			}
			#menu .middle {
				position: absolute;
				left: 18px;
				height: 20px;
				width: 117px;
				top: 0px;
			}
			#menu .login_middle {
				position: absolute;
				left: 18px;
				height: 20px;
				width: 166px;
				top: 0px;
			}
			<style>
			#experiment {
			-webkit-perspective: 800;
			-webkit-perspective-origin: 50% 200px;

			-moz-perspective: 800;
			-moz-perspective-origin: 50% 200px;
			}

			#cube {
			position: relative;
			margin: 10px auto 0;
			height: 40px;
			width: 40px;
			-webkit-transition: -webkit-transform 2s linear;
			-webkit-transform-style: preserve-3d;

			-moz-transition: -moz-transform 2s linear;
			-moz-transform-style: preserve-3d;
			}


		</style>
		</style>
		<link rel="stylesheet" type="text/css" href="<?php echo Yii::app() -> request -> baseUrl;?>/css/menu/fixedMenu_style1.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo Yii::app() -> request -> baseUrl;?>/css/menu/fancybox/jquery.fancybox-1.3.4.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo Yii::app() -> request -> baseUrl;?>/css/menu/front.css" />
		<link rel='stylesheet' type='text/css' href="<?php echo Yii::app() -> request -> baseUrl;?>/css/ctrl/movectrl.css" />
		<script>
			$('document').ready(function() {
				$('.menu').fixedMenu();

			});

		</script>
		<script type="text/javascript">
			$(function() {

				$(".dockitem").fancybox();

			});

		</script>
		<script type="text/javascript">
			$(document).ready(function() {

				$(".signin").click(function(e) {
					e.preventDefault();
					$("fieldset#signin_menu").toggle();
					$(".signin").toggleClass("menu-open");
				});
				$("fieldset#signin_menu").mouseup(function() {
					return false
				});
			});

		</script>
		<script type='text/javascript'>
			$(function() {
				$('#forgot_username_link').tipsy({
					gravity : 'w'
				});
			});

		</script>
	</head>
	<body id='page'>
		<div style="margin-left:50px;">
			<ul id="menu">
				<li class="logo">
					<img style="float:left;" alt="" src="images/menu/menu_left.png"/>
					<ul id="element">
						<li>
							Welcome to <b>Create Vimeo-like top navigation</b> tutorial!
						</li>
						<li class="last">
							<img class="corner_left" alt="" src="images/menu/corner_blue_left.png"/>
							<img class="middle" alt="" src="images/menu/dot_blue.png"/>
							<img class="login_corner_right" alt="" src="images/menu/corner_blue_right.png"/>
						</li>
					</ul>
				</li>
				<li id="container">
					<div id="topnav" class="topnav">
						<a href="login" class="signin"><span>登录</span></a>
					</div>
					<ul id="login" style="width:200px">
						<?php //echo $this->renderPartial('/site/login.form',array('model'=>$model))?>
					</ul>
				</li>
				<li>
					<a href="#">家具</a>
					<ul id="element" class="element">
						<li>
							<img class="corner_inset_left" alt="" src="images/menu/corner_inset_left.png"/>
							<?php echo CHtml::link('桌椅',array('webgl/ddd/'))
							?><img class="corner_inset_right" alt="" src="images/menu/corner_inset_right.png"/>
						</li>
						<li>
							<?php echo CHtml::link('床',array('webgl/ddd/'))
							?>
						</li>
						<li class="last">
							<img class="corner_left" alt="" src="images/menu/corner_left.png"/>
							<img class="middle" alt="" src="images/menu/dot.gif"/>
							<img class="corner_right" alt="" src="images/menu/corner_right.png"/>
						</li>
					</ul>
				</li>
				<li>
					<a href="#">家电</a>
					<ul id="element" class="element">
						<li>
							<img class="corner_inset_left" alt="" src="images/menu/corner_inset_left.png"/>
							<?php echo CHtml::link('电视',array('webgl/facility/','gTypeId'=>"0701",'pageNo'=>1),array('class'=>"dockitem"))
							?><img class="corner_inset_right" alt="" src="images/menu/corner_inset_right.png"/>
						</li>
						<li>
							<?php echo CHtml::link('冰箱',array('webgl/ddd/'))
							?>
						</li>
						<li class="last">
							<img class="corner_left" alt="" src="images/menu/corner_left.png"/>
							<img class="middle" alt="" src="images/menu/dot.gif"/>
							<img class="corner_right" alt="" src="images/menu/corner_right.png"/>
						</li>
					</ul>
				</li>
				<li>
					<a href="#">户型</a>
					<ul id="element" class="element">
						<li>
							<img class="corner_inset_left" alt="" src="images/menu/corner_inset_left.png"/>
							<?php echo CHtml::link('选择户型',array('webgl/showHouseStyle/'),array('class'=>"dockitem"))
							?><img class="corner_inset_right" alt="" src="images/menu/corner_inset_right.png"/>
						</li>
						<li>
							<?php echo CHtml::link('绘制户型',array('webgl/drawHouseStyle/'))
							?>
						</li>
						<li>
							<?php echo CHtml::link('绘制新户型',array('webgl/build/'))
							?>
						</li>
						<li class="last">
							<img class="corner_left" alt="" src="images/menu/corner_left.png"/>
							<img class="middle" alt="" src="images/menu/dot.gif"/>
							<img class="corner_right" alt="" src="images/menu/corner_right.png"/>
						</li>
					</ul>
				</li>
				<li>
					<a href="#">作品</a>
					<ul id="element" class="element">
						<li>
							<img class="corner_inset_left" alt="" src="images/menu/corner_inset_left.png"/>
							<?php echo CHtml::link('我的作品',array('webgl/showHouse/'),array('class'=>"dockitem"))
							?><img class="corner_inset_right" alt="" src="images/menu/corner_inset_right.png"/>
						</li>
						<li>
							<?php echo CHtml::link('好友作品',array('webgl/showHouse/'))
							?>
						</li>
						<li>
							<?php echo CHtml::link('搜索作品',array('webgl/showHouse/'))
							?>
						</li>
						<li class="last">
							<img class="corner_left" alt="" src="images/menu/corner_left.png"/>
							<img class="middle" alt="" src="images/menu/dot.gif"/>
							<img class="corner_right" alt="" src="images/menu/corner_right.png"/>
						</li>
					</ul>
				</li>
				<li>
					<a  id='save' href="#">保存</a>
				</li>
				<li class="searchContainer">
					<div>
						<input type="text" id="searchField" />
						<img src="images/menu/magnifier.png" alt="Search" onclick="alert('You clicked on search button')" />
					</div>
					<ul id="search" >
						<li>
							<img class="corner_inset_left" alt="" src="images/menu/corner_inset_left.png"/>
							<input id="cbxAll" type="checkbox" />
							All
						</li>
						<li>
							<input id="Articles" type="checkbox" />
							Articles
						</li>
						<li>
							<input id="Tutorials" type="checkbox" />
							Tutorials
						</li>
						<li>
							<input id="Reviews" type="checkbox" />
							Reviews
						</li>
						<li>
							<input id="Resources" type="checkbox" />
							Resources
						</li>
						<li class="last">
							<img class="corner_left" alt="" src="images/menu/corner_left.png"/>
							<img class="middle" alt="" src="images/menu/dot.gif"/>
							<img class="corner_right" alt="" src="images/menu/corner_right.png"/>
						</li>
					</ul>
				</li>
				
			</ul>
			<img style="float:left;" alt="" src="images/menu/menu_right.png"/>
		</div>
		<div id='content-holder'>
			<?php echo $content;?>
		</div>
	</body>
</html>
